home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dc.postinst < prev    next >
Encoding:
Text File  |  2007-03-05  |  1.0 KB  |  48 lines

  1. #!/bin/sh
  2. #
  3. # This is the postinst script for the Debian GNU/Linux dc package
  4. #
  5. # Written by Dirk Eddelbuettel <edd@debian.org>   
  6. # Previous versions written by Bill Mitchell, Austin Donnelly and James Troup
  7.  
  8. set -e
  9.  
  10. # Automatically added by dh_installdocs
  11. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  12.     install-docs -i /usr/share/doc-base/dc
  13. fi
  14. # End automatically added section
  15. # Automatically added by dh_installmenu
  16. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  17.     update-menus
  18. fi
  19. # End automatically added section
  20.  
  21.  
  22. case "$1" in
  23.     configure)
  24.     #
  25.     install-info --quiet --section "General commands" "General commands" \
  26.         /usr/share/info/dc.info.gz 
  27.     #
  28. #     if [ -x /usr/bin/update-menus ]
  29. #     then
  30. #         update-menus 
  31. #     fi
  32.     #
  33. #     if command -v install-docs >/dev/null 2>&1 
  34. #     then
  35. #         install-docs -i /usr/share/doc-base/dc
  36. #     fi
  37.     ;;
  38.     abort-upgrade|abort-remove|abort-deconfigure)
  39.     ;;
  40.     *)
  41.     echo "postinst called with unknown argument \`$1'" >&2
  42.     ;;
  43. esac
  44.  
  45.  
  46.  
  47.  
  48.